package relation;

import cn.moukou.dictator.ServerApplication;
import cn.moukou.dictator.dao.relation.KVNODE_RELATION_DAO;
import cn.moukou.dictator.pojo.relation.KVNODE_RELATION;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.awt.*;
import java.util.List;

@SpringBootTest(classes = ServerApplication.class)
public class KVNODE_RELATION_TEST {
    @Autowired
    KVNODE_RELATION_DAO dao;

    @Test
    public void findByType() {
        List<KVNODE_RELATION> list = dao.findByType("student_class");
        System.out.println(list.size());
    }
}
